package services

import (
	"ssims/dao"
	"ssims/models"
)

func GetAllDescribe(students map[string]interface{}) (error, []models.Describe, int64) {
	err, studentData, total := dao.GetAllDescribe(students)
	return err, studentData, total
}

func DelDescribe(id string) error {
	err := dao.DelDescribe(id)
	return err
}

func UpdateDescribe(student models.Describe) error {
	err := dao.UpdateDescribe(student)
	return err
}

func AddDescribe(student models.Describe) error {
	err := dao.AddDescribe(student)
	return err
}
